import defaultSettings from '@/settings'

const appTitle = defaultSettings.title || ''

export function getAppTitle (pageTitle) {
  if (pageTitle) {
    return `${appTitle} - ${pageTitle}`
  }
  return appTitle
}

export function getAppFooter () {
  return defaultSettings.footer || {}
}

export default {
  getAppTitle,
  getAppFooter
}
